#include "MessageFactoryImp.h"
#include "ProtoClient001.pb.h"
#include "ProtoPublic.pb.h"
MessageFactoryImp::MessageFactoryImp(){}
MessageFactoryImp::~MessageFactoryImp(){}
MessageFactoryImp *MessageFactoryImp::instance_ = NULL;
MessageFactoryImp *MessageFactoryImp::instance() {
    if (MessageFactoryImp::instance_ == NULL) {
        MessageFactoryImp::instance_ = new MessageFactoryImp();
        MessageFactoryImp::instance_->init();
    }
    return MessageFactoryImp::instance_;
}
void MessageFactoryImp::init_msg_map() {
    // == auto gen code here
    this->register_message("Proto50600101", new Proto50600101());
    this->register_message("ProtoSceneAddress", new ProtoSceneAddress());
    this->register_message("ProtoGateRole", new ProtoGateRole());
}
